//
//  UIImageView+BZTheme.m
//  MZBasic
//
//  Created by Sings on 2022/9/14.
//

#import "UIImageView+BZTheme.h"

@implementation UIImageView (BZTheme)

- (void) BZTheme_tintColorImage:(UIImage *) image StrTintColorKey:(NSString *) strTintColorKey {
    if (strTintColorKey != nil) {
        image = [image imageWithRenderingMode:(UIImageRenderingModeAlwaysTemplate)];
        self.tintColor = BZTHEME_COLOR(strTintColorKey);
        [self setImage:image];
    }else {
        [self setImage:image];
    }
}

@end
